/*
 * @Author: Tendo 
 * @Date: 2021-09-26 10:09:40 
 * @param {string} s
 * @return {string}
 */

 var replaceSpace = function(s) {
    let resArr = s.split(' ')
    return resArr.join('%20')
};